#
#  Be sure to run `pod spec lint HLFoundation.podspec' to ensure this is a
#  valid spec and to remove all comments including this before submitting the spec.
#
#  To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
#  To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#

Pod::Spec.new do |s|

  s.name         = "HLFoundation"
  s.version      = "0.0.2"
  s.summary      = " HLFoundation. is Tools for ios"
  s.description  = <<-DESC
                    这是一个测试的
                    程序  验证 子模板
                   DESC
  s.homepage     = "https://git.oschina.net/Holink521/HLFoundation"
  s.license      = { :type => "MIT" }
  s.author             = { "hulinhu" => "hulinhu@gomeholdings.com" }
  s.platform     = :ios
  s.ios.deployment_target = "8.0"
  s.source       = { :git => "https://git.oschina.net/Holink521/HLFoundation.git", :tag => "#{s.version}" }
  s.requires_arc = true

  # s.source_files = 'HLFoundation/Classes/*.{h,m}', 'HLFoundation/Classes/ThirdParty/*.{h}'
  s.dependency   'AFNetworking', '~> 3.1.0'
  s.vendored_libraries  = 'HLFoundation/Classes/ThirdParty/libWeChatSDK.a'
  s.frameworks = 'SystemConfiguration','CoreGraphics','CoreTelephony','Security','CoreLocation','JavaScriptCore'
  s.libraries  = 'iconv','sqlite3','stdc++','z'
  # s.subspec 'Classes' do |cs|
  #      cs.source_files = 'HLFoundation/Classes/**'
  # end
  s.subspec 'ThirdParty' do |cs|
       cs.source_files = 'HLFoundation/Classes/ThirdParty/*.{h}'
  end
  s.subspec 'HLSub' do |cs|
       cs.source_files = 'HLFoundation/Classes/HLSub/*.{h,m}'
  end

end
